package com.taotao.proxy.service;

import com.taotao.proxy.service.impl.OrderServiceImpl;
import com.taotao.proxy.service.proxy.OrderServiceProxy;

/**
 * @Author: wangjin
 * @CreateTime: 2022-07-03  21:44
 */
public class Test01 {
    public static void main(String[] args) {
        //被代理类
        OrderServiceProxy orderServiceProxy=new OrderServiceProxy(new OrderServiceImpl());
        String result= orderServiceProxy.addOrder("hello");
        System.out.println(result);
    }
}
